#!/bin/bash

#set -x
set -e


function dockerFile(){
  img=${1}
  cat > Dockerfile <<EOF
FROM ${img}
ADD app /app
EOF

  docker build -t ${img} .
  docker login -p Harbor12345 -u admin ${harbor}
  docker push ${img}
}

img=${1}
echo ${img}
#dockerFile ${img}